﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FileListCtrl.ascx.cs" Inherits="FrameWork.web.Web.UC.FileListCtrl" %>
<%@ Import Namespace="Slja.Utility" %>

<asp:PlaceHolder runat="server" ID="plhList">
    <table width="70%" border="0" class="infilelisttbl" dname="<%= OrderFileClass.ToString() %>">
    <asp:Repeater runat="server" ID="Repeater1" OnItemDataBound="Repeater1_ItemDataBound">
        <ItemTemplate>
           <tr>
            <td width="70%" align="left"><input type="hidden" id="fid" value='<%#Eval("ID") %>'/>
                <a href='<%#Eval("Path") %>' class="lnkfile"><%#Eval("FileName") %></a>
            </td>            
            <td><a runat="server" ID="del" href="javascript:void(0);" onclick="javascript:if(confirm('真的要从服务器删除该文件？')){fileDelete(this);}void(0);" style="text-decoration:none;" title="删除">×</a></td>
        </tr>
        </ItemTemplate>
    </asp:Repeater>
       
    </table>
</asp:PlaceHolder>
<asp:PlaceHolder runat="server" ID="plhAdd">
添加（<a title="上传" class="lnkUpfile" href="javascript:uploadDesignFile('<%= OrderFileClass.ToString() %>');">+</a>）
</asp:PlaceHolder>